package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum CustomerCancelReasonOptionCategory {
    system(0, "系统原因"),
    driver(1, "司机原因"),
    other(3, "其他原因"),
    customer(2, "乘客自身原因");

    @EnumValue
    private final int code;
    private final String desc;

    CustomerCancelReasonOptionCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
